#include <stdio.h>

int main()
{
    int num[3];
    int a, b, c;
    for (int i = 0; i < 3; i++)
        scanf("%d", &num[i]);
    for (int i = 0; i < 3; i++)
    {
        for (int j = 0; j < 2; j++)
        {
            if (num[j] > num[j + 1])
            {
                int temp;
                temp = num[j];
                num[j] = num[j + 1];
                num[j + 1] = temp;
            }
        }
    }
    a = num[0];
    b = num[1];
    c = num[2];

    if (a + b <= c) // not 是三角形
        printf("Not triangle\n");
    else
    {
        // 直角三角形
        if (a * a + b * b == c * c)
        {
            printf("Right triangle\n");
            if (a == b || a == c || b == c) // 等腰三角形
                printf("Isosceles triangle\n");
        }

        // 锐角三角形
        else if (a * a + b * b > c * c)
        {
            printf("Acute triangle\n");
            if (a == b || a == c || b == c) // 等腰三角形
                printf("Isosceles triangle\n");
            if (a == b && a == c) // 等边三角形
                printf("Equilateral triangle\n");
        }
        // 钝角三角形
        else if (a * a + b * b < c * c )
        {
            printf("Obtuse triangle\n");
            if (a == b || a == c || b == c) // 等腰三角形
                printf("Isosceles triangle\n");
        }
    }

    return 0;
}